/*
 * Copyright (c) 2023, 2024,yzc.cn All rights reserved.
 *
 */
package com.by.common;

/**
 * <p>Project: erp-cloud-api - ResultStatus</p>
 * <p>Powered by yzc On 2024-01-08 17:25:59</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
public enum ResultStatus {
    SUCCESS(200, "处理成功"), FAIL(0, "处理失败");

    int code;
    String desc;

    private ResultStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
